package com.scott.service;

import com.scott.bean.UserBean;
import com.scott.dao.UserDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 黄后林
 * @version 1.0
 * @date 2022-01-11 17:41:48
 */

// @Service
public class UserService {

    // @Resource
    private UserDao dao;

    public List<UserBean> findAll(){
        List<UserBean> all = dao.findAll();
        return all;
    }

}
